from django.urls import path, re_path

from apps.meiduo_admin.views import users, statistical

urlpatterns = [
    # 管理员登录API
    path('authorizations/', users.AdminAuthorizeView.as_view()),
    # 日活跃用户数统计API接口设计与实现
    path('statistical/day_active/', statistical.UserDayActiveView.as_view()),
    # 日下单用户量统计
    re_path(r'^statistical/day_orders/$', statistical.UserDayOrdersView.as_view()),
    # 查询30天日增用户统计
    path('statistical/month_increment/', statistical.UserMonthIncrementView.as_view()),

    # 用户管理--查询用户
    re_path(r'^users/$', users.UserInfoView.as_view()),
]
